import cv2

image = cv2.imread('./img/huawei.png')

if image is not None:
    cv2.imshow('Image', image)
    print(image[10, 10, 0])
    cv2.waitKey(0)
    cv2.destroyAllWindows()
else:
    print('读取图片失败！')
